// 自定义异常类
class LxException implements Exception {
  final String message;
  final int? code;
  // 事件
  final Function(dynamic)? action;

  LxException(
    this.message, {
    this.code,
    this.action,
  });
}
